package com.frank.practice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/3/5
 * @description 多选题信息表
 */


@Data
@TableName(value = "subject_multiple")
public class SubjectMultiple implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 题目id
     */
    @TableField(value = "subject_id")
    private Long subjectId;

    /**
     * 选项类型
     */
    @TableField(value = "option_type")
    private Integer optionType;

    /**
     * 选项内容
     */
    @TableField(value = "option_content")
    private String optionContent;

    /**
     * 是否正确
     */
    @TableField(value = "is_correct")
    private Integer isCorrect;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "is_deleted")
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}